package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.ScenicTicket;
import cn.wolfcode.trip.base.query.TicketObject;

import java.util.List;

public interface ScenicTicketMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ScenicTicket record);

    ScenicTicket selectByPrimaryKey(Long id);

    List<ScenicTicket> selectAll();

    int updateByPrimaryKey(ScenicTicket record);


    /**
     * 后台景点售票情况查询
     */
    List<ScenicTicket> selectForList(TicketObject qo);
}